package com.itheima.stock.constant;

/**
 * @author zby
 * @created 2024-06-25 11:57
 * @description 常量类
 */
public class Constants {

    /**
     * 验证码过期时间，单位默认时秒
     */
    public static final long CAPTCHA_EXPIRE_TIME = 60L;

    /**
     * 验证码在redis中存储key的前缀
     */
    public static final String CAPTCHA_PREFIX = "stock:captcha:";

    /**
     * 用户状态1：正常
     */
    public static final int SYS_USER_STATUS_NORMAL = 1;
    /**
     * 用户状态：2 锁定
     */
    public static final int SYS_USER_STATUS_LOCKED = 2;
    /**
     * 删除状态：0删除
     */
    public static final int SYS_USER_DELETED = 0;
    /**
     * 删除状态： 1 未删除
     */
    public static final int SYS_USER_UN_DELETE = 1;

    /**
     *  excel文件导出前缀
     */
    public static final String EXCEL_FILE_PREFIX="股票信息-";
    public static final String EXCEL_FILE_SUFFIX=".xls";


}
